package com.faya.green.model.web;

/**
 * 用户 ：LX
 * 创建时间： 2018/7/30. 23:05
 * 地点：广州
 * 目的: 机构|部门  ，与前端交互的机构部门数据
 * 结果：
 */
public class OrganizationWeb {

    private String id; //机构|部门的主键
    private String pId; //父id
    private String name; //机构名
    private String isDepOrOrg; //1 是机构 2 是部门

    private String sonId; //在进行增加父节点的操作时，保存原本的id,其他的和上面一样
    private String sonPid;
    private String sonName;
    private String sonIsDepOrOrg;

    public String getSonPid() {
        return sonPid;
    }

    public void setSonPid(String sonPid) {
        this.sonPid = sonPid;
    }

    public String getSonName() {
        return sonName;
    }

    public void setSonName(String sonName) {
        this.sonName = sonName;
    }

    public String getSonIsDepOrOrg() {
        return sonIsDepOrOrg;
    }

    public void setSonIsDepOrOrg(String sonIsDepOrOrg) {
        this.sonIsDepOrOrg = sonIsDepOrOrg;
    }

    public String getSonId() {
        return sonId;
    }

    public void setSonId(String sonId) {
        this.sonId = sonId;
    }

    public String getIsDepOrOrg() {
        return isDepOrOrg;
    }

    public void setIsDepOrOrg(String isDepOrOrg) {
        this.isDepOrOrg = isDepOrOrg;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
